
#修改主机名
cat >> /etc/hosts << EOF
192.168.159.171   master
192.168.159.172   node1
192.168.159.173   node2
EOF